import Main from "@/components/main";

export default [
  {
    path: "/asset",
    name: "asset",
    meta: {
      icon: "logo-buffer",
      title: "资源管理"
    },
    component: Main,
    children: [
      {
        path: "/device",
        name: "device",
        meta: {
          icon: "logo-buffer",
          title: "设备管理"
        },
        component: resolve =>
          void require([
            "@/view/asset-manage/device-manage/deviceTable.vue"
          ], resolve)
      },
      {
        path: "/shop",
        name: "shop",
        meta: {
          icon: "logo-buffer",
          title: "商铺管理"
        },
        component: resolve =>
          void require([
            "@/view/asset-manage/shop/shopTable.vue"
          ], resolve)
      }
    ]
  }
];
